package app.server.project.core.util;

import app.server.project.core.exception.GlobalException;

public class AssertUtil {

    public static void isTrue(boolean flag, int code) {
        if (!flag) {
            throw GlobalException.of(code);
        }
    }
}
